package ai.people.netmon.framework.domain.warning.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 预警素材
 * @TableName warning_info_material
 */
@Builder
@TableName(schema = "service_warning", value ="warning_info_material")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WarningInfoMaterial implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 用户ID
     */
    private Long materialUserId;

    /**
     * 1:信息预警、2:主题舆情、3:账号言论
     */
    private Integer materialSource;

    /**
     * 业务id：信息id
     */
    private String materialInfoId;

    /**
     * 一级标题：文章标题/账号名称
     */
    private String materialInfoAccountTitle;

    /**
     * 内容
     */
    private String materialInfoContent;

    /**
     * 信息源平台
     */
    private String materialInfoPlatform;

    /**
     * 标签
     */
    private String materialInfoLabel;

    /**
     * 情感
     */
    private String materialInfoEmotion;

    /**
     * 发布时间
     */
    private LocalDateTime materialInfoReleaseTime;

    /**
     * 数据创建时间
     */
    private LocalDateTime createTime;

    /**
     * 数据更新时间
     */
    private LocalDateTime ts;

    /**
     * 是否删除 1是 0否
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}